import requests

res= requests.get('https://www.douban.com/')
res.encoding='utf-8'
print(res.text)
